//
//  KKSheetQuestionItem.h
//  Questionnaire
//
//  Created by leo on 16/1/26.
//  Copyright © 2016年 leo. All rights reserved.
//

#import "KKModelItem.h"

typedef NS_ENUM(NSUInteger, KKSheetQuestionItemType) {
    KKSheetQuestionItemTypeFillInNormal = 1,        /**< 普通填空题 */
    KKSheetQuestionItemTypeFillInTime = 2,          /**< 时间填空题 */
    KKSheetQuestionItemTypeFillInNumber = 3,        /**< 数字填空题 */
    KKSheetQuestionItemTypeUploadImage = 4,         /**< 上传图片 */
    KKSheetQuestionItemTypeShortAnswer = 5,         /**< 简答题 */
    KKSheetQuestionItemTypeRadio = 7,               /**< 单选 */
    KKSheetQuestionItemTypeMultipleChoice = 8,      /**< 多选 */
    KKSheetQuestionItemTypeRadioAndExplain = 9,     /**< 单选说明 */
    KKSheetQuestionItemTypeAutograph = 10           /**< 签名 */
    
};

@interface KKSheetQuestionItem : KKModelItem

@property (nonatomic, copy) NSString *kk_qgId;                  /**< 问题组编号 */
@property (nonatomic, copy) NSString *kk_qgName;                /**< 问题组名称 */
@property (nonatomic, copy) NSString *kk_shId;                  /**< 问卷编号 */
@property (nonatomic, copy) NSString *kk_shName;                /**< 问卷名称 */
@property (nonatomic, copy) NSString *kk_sqDescription;         /**< 问题说明 */
@property (nonatomic, copy) NSString *kk_sqId;                  /**< 问题编号 */
@property (nonatomic, copy) NSString *kk_sqSequence;            /**< 问题序号 */
@property (nonatomic, copy) NSString *kk_sqStatus;              /**< 状态 */
@property (nonatomic, copy) NSString *kk_sqTitle;               /**< 问题标题 */
@property (nonatomic, copy) NSString *kk_sqType;                /**< 问题类别 */
@property (nonatomic, copy) NSString *kk_sqTypeName;            /**< 问题类别名称 */

@property (nonatomic, strong) NSArray *kk_SheetQuestionOption;  /**< 问题选项 */

- (KKSheetQuestionItemType)questionItemType;

@end



@interface KKSheetQuestionOptionItem : KKModelItem

@property (nonatomic, copy) NSString *kk_qoId;                  /**< 选项编号 */
@property (nonatomic, copy) NSString *kk_qoIsDefault;           /**< 是否默认 */
@property (nonatomic, copy) NSString *kk_qoSequence;            /**< 选项序号 */
@property (nonatomic, copy) NSString *kk_qoStatus;              /**< 状态 */
@property (nonatomic, copy) NSString *kk_qoText;                /**< 选项显示 */
@property (nonatomic, copy) NSString *kk_qoValue;               /**< 选项值 */
@property (nonatomic, copy) NSString *kk_sqId;                  /**< 问题编号 */

@end